<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: /home/alejandro/Desarrollo eclipse/os1/Thirdparty/DBoW2/DBoW2/BowVector.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_bow_vector_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">BowVector.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_bow_vector_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef __D_T_BOW_VECTOR__</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define __D_T_BOW_VECTOR__</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_d_bo_w2.html">DBoW2</a> {</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#ab1a0d3283b2d4690a383372ed20bfeb5">   20</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespace_d_bo_w2.html#ab1a0d3283b2d4690a383372ed20bfeb5">WordId</a>;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a55fcd7333e591a38e96b91f41bc182f6">   23</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="namespace_d_bo_w2.html#a55fcd7333e591a38e96b91f41bc182f6">WordValue</a>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a3a0fa9c50c0df508759362d6204566f2">   26</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespace_d_bo_w2.html#a3a0fa9c50c0df508759362d6204566f2">NodeId</a>;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">   29</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">LNorm</a></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51a94f5879ff083c0a8364805ae4f9c2d5c">   31</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51a94f5879ff083c0a8364805ae4f9c2d5c">L1</a>,</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51aff96c9503798aa8504a954d3832e5eaa">   32</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51aff96c9503798aa8504a954d3832e5eaa">L2</a></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;};</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467a">   36</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467a">WeightingType</a></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;{</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aaa3425e88466862008dff6883e07e205d">   38</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aaa3425e88466862008dff6883e07e205d">TF_IDF</a>,</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa15d1950b5707de9ac0760c2c6dae48bd">   39</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa15d1950b5707de9ac0760c2c6dae48bd">TF</a>,</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa5a1c1f7cd866c8bea4551e296298c3bc">   40</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa5a1c1f7cd866c8bea4551e296298c3bc">IDF</a>,</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aae517632073c3a0b980558ebb6519d759">   41</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aae517632073c3a0b980558ebb6519d759">BINARY</a></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;};</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722">   45</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722">ScoringType</a></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;{</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a2df432e58efd2a13d4950ee96aa6a20f">   47</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a2df432e58efd2a13d4950ee96aa6a20f">L1_NORM</a>,</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad1a4e066e848e5247e4d94dd3e08f509">   48</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad1a4e066e848e5247e4d94dd3e08f509">L2_NORM</a>,</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad0bd4548b18fb1c165961506e199f38d">   49</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad0bd4548b18fb1c165961506e199f38d">CHI_SQUARE</a>,</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a607c4948ab28605098d7cedb9bce14ae">   50</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a607c4948ab28605098d7cedb9bce14ae">KL</a>,</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a22de570628b33a2662630def802a23cb">   51</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a22de570628b33a2662630def802a23cb">BHATTACHARYYA</a>,</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a14556ffa1d80b1c7540ea68506eb5b56">   52</a></span>&#160;  <a class="code" href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a14556ffa1d80b1c7540ea68506eb5b56">DOT_PRODUCT</a>,</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;};</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_d_bo_w2_1_1_bow_vector.html">   56</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_d_bo_w2_1_1_bow_vector.html">BowVector</a>: </div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">public</span> std::map&lt;WordId, WordValue&gt;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#ac4da23e700adc4ee083d66b23ce86e90">BowVector</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#a7210cac6ce006c7232f4d097faa338d0">~BowVector</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    </div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#a3ac92a805b252c93dc6535240d02df47">addWeight</a>(WordId <span class="keywordtype">id</span>, WordValue v);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    </div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#a5ddf10e444d10425e5bd3568dc7ffe5e">addIfNotExist</a>(WordId <span class="keywordtype">id</span>, WordValue v);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#acd2dd34023e3053a4cc75d70c8b6ac13">normalize</a>(<a class="code" href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">LNorm</a> norm_type);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    </div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keyword">friend</span> std::ostream&amp; <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#a1a7d9ac0f9128538859adfea38453ae1">operator&lt;&lt;</a>(std::ostream &amp;out, <span class="keyword">const</span> <a class="code" href="class_d_bo_w2_1_1_bow_vector.html">BowVector</a> &amp;v);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    </div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_d_bo_w2_1_1_bow_vector.html#a0611e948f987574161c121231341537b">saveM</a>(<span class="keyword">const</span> std::string &amp;filename, <span class="keywordtype">size_t</span> W) <span class="keyword">const</span>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;};</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;} <span class="comment">// namespace DBoW2</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_a0611e948f987574161c121231341537b"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#a0611e948f987574161c121231341537b">DBoW2::BowVector::saveM</a></div><div class="ttdeci">void saveM(const std::string &amp;filename, size_t W) const</div><div class="ttdoc">Saves the bow vector as a vector in a matlab file. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:105</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html">DBoW2::BowVector</a></div><div class="ttdoc">Vector of words to represent images. </div><div class="ttdef"><b>Definition:</b> BowVector.h:56</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_ab1a0d3283b2d4690a383372ed20bfeb5"><div class="ttname"><a href="namespace_d_bo_w2.html#ab1a0d3283b2d4690a383372ed20bfeb5">DBoW2::WordId</a></div><div class="ttdeci">unsigned int WordId</div><div class="ttdoc">Id of words. </div><div class="ttdef"><b>Definition:</b> BowVector.h:20</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a5de5c8a307aca9a84ffefda2a9bc467aaa3425e88466862008dff6883e07e205d"><div class="ttname"><a href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aaa3425e88466862008dff6883e07e205d">DBoW2::TF_IDF</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:38</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722a22de570628b33a2662630def802a23cb"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a22de570628b33a2662630def802a23cb">DBoW2::BHATTACHARYYA</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:51</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722a2df432e58efd2a13d4950ee96aa6a20f"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a2df432e58efd2a13d4950ee96aa6a20f">DBoW2::L1_NORM</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:47</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_ac4da23e700adc4ee083d66b23ce86e90"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#ac4da23e700adc4ee083d66b23ce86e90">DBoW2::BowVector::BowVector</a></div><div class="ttdeci">BowVector(void)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:22</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a53e9e0bcfc25c861815e413a7cf3fa51"><div class="ttname"><a href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51">DBoW2::LNorm</a></div><div class="ttdeci">LNorm</div><div class="ttdoc">L-norms for normalization. </div><div class="ttdef"><b>Definition:</b> BowVector.h:29</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a5de5c8a307aca9a84ffefda2a9bc467aa15d1950b5707de9ac0760c2c6dae48bd"><div class="ttname"><a href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa15d1950b5707de9ac0760c2c6dae48bd">DBoW2::TF</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:39</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_a3ac92a805b252c93dc6535240d02df47"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#a3ac92a805b252c93dc6535240d02df47">DBoW2::BowVector::addWeight</a></div><div class="ttdeci">void addWeight(WordId id, WordValue v)</div><div class="ttdoc">Adds a value to a word value existing in the vector, or creates a new word with the given value...</div><div class="ttdef"><b>Definition:</b> BowVector.cpp:34</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a55fcd7333e591a38e96b91f41bc182f6"><div class="ttname"><a href="namespace_d_bo_w2.html#a55fcd7333e591a38e96b91f41bc182f6">DBoW2::WordValue</a></div><div class="ttdeci">double WordValue</div><div class="ttdoc">Value of a word. </div><div class="ttdef"><b>Definition:</b> BowVector.h:23</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722a607c4948ab28605098d7cedb9bce14ae"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a607c4948ab28605098d7cedb9bce14ae">DBoW2::KL</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:50</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a5de5c8a307aca9a84ffefda2a9bc467aa5a1c1f7cd866c8bea4551e296298c3bc"><div class="ttname"><a href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aa5a1c1f7cd866c8bea4551e296298c3bc">DBoW2::IDF</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:40</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a53e9e0bcfc25c861815e413a7cf3fa51a94f5879ff083c0a8364805ae4f9c2d5c"><div class="ttname"><a href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51a94f5879ff083c0a8364805ae4f9c2d5c">DBoW2::L1</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:31</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_a1a7d9ac0f9128538859adfea38453ae1"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#a1a7d9ac0f9128538859adfea38453ae1">DBoW2::BowVector::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;out, const BowVector &amp;v)</div><div class="ttdoc">Prints the content of the bow vector. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:88</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_a7210cac6ce006c7232f4d097faa338d0"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#a7210cac6ce006c7232f4d097faa338d0">DBoW2::BowVector::~BowVector</a></div><div class="ttdeci">~BowVector(void)</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:28</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722a14556ffa1d80b1c7540ea68506eb5b56"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722a14556ffa1d80b1c7540ea68506eb5b56">DBoW2::DOT_PRODUCT</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:52</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_a5ddf10e444d10425e5bd3568dc7ffe5e"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#a5ddf10e444d10425e5bd3568dc7ffe5e">DBoW2::BowVector::addIfNotExist</a></div><div class="ttdeci">void addIfNotExist(WordId id, WordValue v)</div><div class="ttdoc">Adds a word with a value to the vector only if this does not exist yet. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:50</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a3a0fa9c50c0df508759362d6204566f2"><div class="ttname"><a href="namespace_d_bo_w2.html#a3a0fa9c50c0df508759362d6204566f2">DBoW2::NodeId</a></div><div class="ttdeci">unsigned int NodeId</div><div class="ttdoc">Id of nodes in the vocabulary treee. </div><div class="ttdef"><b>Definition:</b> BowVector.h:26</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a5de5c8a307aca9a84ffefda2a9bc467a"><div class="ttname"><a href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467a">DBoW2::WeightingType</a></div><div class="ttdeci">WeightingType</div><div class="ttdoc">Weighting type. </div><div class="ttdef"><b>Definition:</b> BowVector.h:36</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722ad0bd4548b18fb1c165961506e199f38d"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad0bd4548b18fb1c165961506e199f38d">DBoW2::CHI_SQUARE</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:49</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722">DBoW2::ScoringType</a></div><div class="ttdeci">ScoringType</div><div class="ttdoc">Scoring type. </div><div class="ttdef"><b>Definition:</b> BowVector.h:45</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a53e9e0bcfc25c861815e413a7cf3fa51aff96c9503798aa8504a954d3832e5eaa"><div class="ttname"><a href="namespace_d_bo_w2.html#a53e9e0bcfc25c861815e413a7cf3fa51aff96c9503798aa8504a954d3832e5eaa">DBoW2::L2</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:32</div></div>
<div class="ttc" id="class_d_bo_w2_1_1_bow_vector_html_acd2dd34023e3053a4cc75d70c8b6ac13"><div class="ttname"><a href="class_d_bo_w2_1_1_bow_vector.html#acd2dd34023e3053a4cc75d70c8b6ac13">DBoW2::BowVector::normalize</a></div><div class="ttdeci">void normalize(LNorm norm_type)</div><div class="ttdoc">L1-Normalizes the values in the vector. </div><div class="ttdef"><b>Definition:</b> BowVector.cpp:62</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_a5de5c8a307aca9a84ffefda2a9bc467aae517632073c3a0b980558ebb6519d759"><div class="ttname"><a href="namespace_d_bo_w2.html#a5de5c8a307aca9a84ffefda2a9bc467aae517632073c3a0b980558ebb6519d759">DBoW2::BINARY</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:41</div></div>
<div class="ttc" id="namespace_d_bo_w2_html_aa252a592dd607c6e60dede06ceef2722ad1a4e066e848e5247e4d94dd3e08f509"><div class="ttname"><a href="namespace_d_bo_w2.html#aa252a592dd607c6e60dede06ceef2722ad1a4e066e848e5247e4d94dd3e08f509">DBoW2::L2_NORM</a></div><div class="ttdef"><b>Definition:</b> BowVector.h:48</div></div>
<div class="ttc" id="namespace_d_bo_w2_html"><div class="ttname"><a href="namespace_d_bo_w2.html">DBoW2</a></div><div class="ttdoc">File: BowVector.cpp Date: March 2011 Author: Dorian Galvez-Lopez Description: bag of words vector Lic...</div><div class="ttdef"><b>Definition:</b> BowVector.cpp:18</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_08235c883c2d11e586a63e6645937db5.html">Thirdparty</a></li><li class="navelem"><a class="el" href="dir_d1a1b6b9a428c17d660585cf3877a970.html">DBoW2</a></li><li class="navelem"><a class="el" href="dir_004f071c35dfaac2458bd63a15bbc95f.html">DBoW2</a></li><li class="navelem"><a class="el" href="_bow_vector_8h.html">BowVector.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
